<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h2>登录</h2>
<form th:action="@{/login}">
    <input type="text" name="userName" placeholder="请输入用户名">
    <input type="text" name="password" placeholder="请输入密码">
    <input type="submit">
</form>
</body>
</html>